<template>
    <h1>请在新页面  <a href="http://172.20.216.103:30080" target="_blank">Kuboard集群管理平台</a> 中查看集群信息</h1>
<!-- <MemoryLoad/> -->



</template>

<script lang="ts">
import { defineComponent, ref, reactive, Ref, onMounted } from 'vue'
import MemoryLoad from './memoryLoad.vue'
import CPULoad from './cpuLoad.vue'

export default defineComponent({
    components: {
        MemoryLoad,
        CPULoad,
    },
    setup() {
const url1 = ref('http://172.20.216.103:30080/k8s-proxy/default/api/v1/namespaces/kuboard/services/http:grafana:3000/proxy/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods?orgId=1&var-datasource=prometheus&var-namespace=current-semester&var-resolution=30s&from=1715699071362&to=1715702671362&kiosk=tv&refresh=10s&viewPanel=16');
        onMounted(() => {
// 刚进入这个界面，就打开新的浏览器窗口
            window.open('http://172.20.216.103:30080', '_blank');
        });

        return {
url1,
        };
    },
});
</script>

<style scoped>
</style>